<template>
    <div class="day_order_buy">
        <div class="data-content">
            <Form :model="formdata" label-position="right" :label-width="140">
                <FormItem label="新密码：">
                    <Input v-model="formdata.pwd1" class="w100"/>
                </FormItem>
                <FormItem label="确认密码：">
                    <Input v-model="formdata.pwd2" class="w100"/>
                </FormItem>
                <FormItem>
                    <Button type="primary" @click="handleSubmit()" :loading="send_loading">确定</Button>
                </FormItem>
            </Form>
        </div>
    </div>
</template>
<script>
    import WrapperContent from '../../../components/wrapper-content.vue'
    import {getUserList, getUser, getLevelList, getPositionList,doUserInfo,delUser,changeUserState} from "@/api/user";
    import * as utils from '../../../assets/js/utils'
    import $ from 'jquery'
    import _ from 'lodash'

    export default {
        components: {
            WrapperContent
        },
        data() {
            return {
                loading : false ,
                formdata:{
                    pwd1:'',
                    pwd2:''
                },
                send_loading : false,
            }
        },
        created: function () {
            this.loading = false;
        },
        methods: {
            handleSubmit(){
                this.send_loading = true ;
                setTimeout(() =>{
                    this.send_loading = false ;
                },2000)
            }
        }
    }
</script>





























